const path = require("path");

module.exports = {
    devServer: {
        historyApiFallback: true,
    },

    css: {
        loaderOptions: {
            less: {
                modifyVars: {
                    hack: `true; @import "${path.resolve(
                        __dirname,
                        "./src/assets/less/index.less"
                    )}";`,
                },
            },
        },
    },
};